package com.log.enhance.selector;

import com.log.enhance.annotation.EnableLogChain;
import com.log.enhance.config.EnableLogChainConfiguration;
import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.AdviceModeImportSelector;
import org.springframework.lang.NonNull;

/**
 * 导入EnableLogChainConfiguration的selector，暂时不用。这里先默认使用BeanAutoConfig自动配置类
 *
 * @author Mr_wenpan@163.com 2021/06/31 15:57
 */
public class EnableLogChainConfigurationSelector extends AdviceModeImportSelector<EnableLogChain> {

    @Override
    protected String[] selectImports(@NonNull AdviceMode adviceMode) {
        return new String[]{EnableLogChainConfiguration.class.getName()};
    }

}
